.class public Lcom/waiqin365/lightapp/view/CustomForDeteleListview;
.super Landroid/widget/ListView;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Landroid/widget/AbsListView$OnScrollListener;


# instance fields
.field protected A:Z

.field protected B:Landroid/content/Context;

.field public C:Ljava/text/SimpleDateFormat;

.field protected D:Z

.field protected E:Z

.field protected F:Z

.field protected G:Z

.field protected H:Ljava/lang/String;

.field protected I:Ljava/lang/String;

.field protected J:Landroid/view/View;

.field protected a:Landroid/view/LayoutInflater;

.field protected b:Landroid/widget/LinearLayout;

.field protected c:Landroid/widget/TextView;

.field protected d:Landroid/widget/TextView;

.field protected e:Landroid/widget/ImageView;

.field protected f:Landroid/widget/ProgressBar;

.field protected g:Landroid/widget/LinearLayout;

.field protected h:Landroid/widget/LinearLayout;

.field protected i:Landroid/widget/ProgressBar;

.field protected j:Landroid/widget/TextView;

.field protected k:Landroid/view/animation/RotateAnimation;

.field protected l:Landroid/view/animation/RotateAnimation;

.field protected m:Z

.field protected n:I

.field protected o:I

.field protected p:I

.field protected q:I

.field protected r:I

.field protected s:I

.field protected t:I

.field protected u:I

.field protected v:Z

.field protected w:Lcom/waiqin365/lightapp/view/da;

.field protected x:Lcom/waiqin365/lightapp/view/db;

.field protected y:Lcom/waiqin365/lightapp/view/cz;

.field protected z:Z


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 1

    const/4 v0, 0x1

    invoke-direct {p0, p1, p2}, Landroid/widget/ListView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->A:Z

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->G:Z

    invoke-virtual {p0, p1}, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->a(Landroid/content/Context;)V

    return-void
.end method


# virtual methods
.method protected a(Landroid/content/Context;)V
    .locals 13

    const/high16 v2, -0x3ccc0000    # -180.0f

    const/4 v5, 0x0

    const/high16 v4, 0x3f000000    # 0.5f

    const/4 v3, 0x1

    const/4 v12, 0x0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->B:Landroid/content/Context;

    iput-boolean v3, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->D:Z

    new-instance v0, Ljava/text/SimpleDateFormat;

    const-string/jumbo v1, "yyyy-MM-dd HH:mm:ss"

    invoke-direct {v0, v1}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->C:Ljava/text/SimpleDateFormat;

    invoke-static {p1}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->a:Landroid/view/LayoutInflater;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->a:Landroid/view/LayoutInflater;

    const v1, 0x7f030105

    invoke-virtual {v0, v1, v5}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->b:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->b:Landroid/widget/LinearLayout;

    const v1, 0x7f0c0310

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->e:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->e:Landroid/widget/ImageView;

    const/16 v1, 0x46

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setMinimumWidth(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->e:Landroid/widget/ImageView;

    const/16 v1, 0x32

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setMinimumHeight(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->b:Landroid/widget/LinearLayout;

    const v1, 0x7f0c0311

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ProgressBar;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->f:Landroid/widget/ProgressBar;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->b:Landroid/widget/LinearLayout;

    const v1, 0x7f0c030f

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->c:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->b:Landroid/widget/LinearLayout;

    const v1, 0x7f0c0628

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->d:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->d:Landroid/widget/TextView;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->b:Landroid/widget/LinearLayout;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->a(Landroid/view/View;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->b:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getMeasuredHeight()I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->o:I

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->b:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getMeasuredWidth()I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->n:I

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->b:Landroid/widget/LinearLayout;

    iget v1, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->o:I

    mul-int/lit8 v1, v1, -0x1

    invoke-virtual {v0, v12, v1, v12, v12}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->b:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->invalidate()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->b:Landroid/widget/LinearLayout;

    invoke-virtual {p0, v0, v5, v12}, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->addHeaderView(Landroid/view/View;Ljava/lang/Object;Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->a:Landroid/view/LayoutInflater;

    const v1, 0x7f030104

    invoke-virtual {v0, v1, v5}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->g:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->g:Landroid/widget/LinearLayout;

    const v1, 0x7f0c0627

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->J:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->g:Landroid/widget/LinearLayout;

    const v1, 0x7f0c030a

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->h:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->g:Landroid/widget/LinearLayout;

    const v1, 0x7f0c030e

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ProgressBar;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->i:Landroid/widget/ProgressBar;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->g:Landroid/widget/LinearLayout;

    const v1, 0x7f0c030c

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->j:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->h:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->g:Landroid/widget/LinearLayout;

    invoke-virtual {p0, v0, v5, v12}, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->addFooterView(Landroid/view/View;Ljava/lang/Object;Z)V

    invoke-virtual {p0, p0}, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->setOnScrollListener(Landroid/widget/AbsListView$OnScrollListener;)V

    new-instance v0, Landroid/view/animation/RotateAnimation;

    const/4 v1, 0x0

    move v5, v3

    move v6, v4

    invoke-direct/range {v0 .. v6}, Landroid/view/animation/RotateAnimation;-><init>(FFIFIF)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->k:Landroid/view/animation/RotateAnimation;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->k:Landroid/view/animation/RotateAnimation;

    new-instance v1, Landroid/view/animation/LinearInterpolator;

    invoke-direct {v1}, Landroid/view/animation/LinearInterpolator;-><init>()V

    invoke-virtual {v0, v1}, Landroid/view/animation/RotateAnimation;->setInterpolator(Landroid/view/animation/Interpolator;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->k:Landroid/view/animation/RotateAnimation;

    const-wide/16 v6, 0xfa

    invoke-virtual {v0, v6, v7}, Landroid/view/animation/RotateAnimation;->setDuration(J)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->k:Landroid/view/animation/RotateAnimation;

    invoke-virtual {v0, v3}, Landroid/view/animation/RotateAnimation;->setFillAfter(Z)V

    new-instance v5, Landroid/view/animation/RotateAnimation;

    const/4 v7, 0x0

    move v6, v2

    move v8, v3

    move v9, v4

    move v10, v3

    move v11, v4

    invoke-direct/range {v5 .. v11}, Landroid/view/animation/RotateAnimation;-><init>(FFIFIF)V

    iput-object v5, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->l:Landroid/view/animation/RotateAnimation;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->l:Landroid/view/animation/RotateAnimation;

    new-instance v1, Landroid/view/animation/LinearInterpolator;

    invoke-direct {v1}, Landroid/view/animation/LinearInterpolator;-><init>()V

    invoke-virtual {v0, v1}, Landroid/view/animation/RotateAnimation;->setInterpolator(Landroid/view/animation/Interpolator;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->l:Landroid/view/animation/RotateAnimation;

    const-wide/16 v4, 0xc8

    invoke-virtual {v0, v4, v5}, Landroid/view/animation/RotateAnimation;->setDuration(J)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->l:Landroid/view/animation/RotateAnimation;

    invoke-virtual {v0, v3}, Landroid/view/animation/RotateAnimation;->setFillAfter(Z)V

    const/4 v0, 0x3

    iput v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->u:I

    iput-boolean v12, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->z:Z

    iput-boolean v12, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->E:Z

    iput-boolean v12, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->F:Z

    return-void
.end method

.method protected a(Landroid/view/View;)V
    .locals 4

    const/4 v3, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    if-nez v0, :cond_0

    new-instance v0, Landroid/view/ViewGroup$LayoutParams;

    const/4 v1, -0x1

    const/4 v2, -0x2

    invoke-direct {v0, v1, v2}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    :cond_0
    iget v1, v0, Landroid/view/ViewGroup$LayoutParams;->width:I

    invoke-static {v3, v3, v1}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I

    move-result v1

    iget v0, v0, Landroid/view/ViewGroup$LayoutParams;->height:I

    if-lez v0, :cond_1

    const/high16 v2, 0x40000000    # 2.0f

    invoke-static {v0, v2}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v0

    :goto_0
    invoke-virtual {p1, v1, v0}, Landroid/view/View;->measure(II)V

    return-void

    :cond_1
    invoke-static {v3, v3}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v0

    goto :goto_0
.end method

.method public a(Ljava/lang/String;)V
    .locals 2

    const-string/jumbo v0, ""

    invoke-virtual {v0, p1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->C:Ljava/text/SimpleDateFormat;

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/Calendar;->getTime()Ljava/util/Date;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    :cond_0
    const/4 v0, 0x3

    iput v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->u:I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->c()V

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->E:Z

    return-void
.end method

.method protected c()V
    .locals 6

    const/16 v5, 0x8

    const v4, 0x7f08067a

    const/4 v3, 0x4

    const/4 v2, 0x0

    iget v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->u:I

    packed-switch v0, :pswitch_data_0

    :goto_0
    return-void

    :pswitch_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->e:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->f:Landroid/widget/ProgressBar;

    invoke-virtual {v0, v3}, Landroid/widget/ProgressBar;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->c:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->e:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->clearAnimation()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->e:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->k:Landroid/view/animation/RotateAnimation;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->startAnimation(Landroid/view/animation/Animation;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->c:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->I:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->getContext()Landroid/content/Context;

    move-result-object v0

    const v2, 0x7f08052a

    invoke-virtual {v0, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    :goto_1
    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->I:Ljava/lang/String;

    goto :goto_1

    :pswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->f:Landroid/widget/ProgressBar;

    invoke-virtual {v0, v3}, Landroid/widget/ProgressBar;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->c:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->e:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->clearAnimation()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->e:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->v:Z

    if-eqz v0, :cond_2

    iput-boolean v2, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->v:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->e:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->clearAnimation()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->e:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->l:Landroid/view/animation/RotateAnimation;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->startAnimation(Landroid/view/animation/Animation;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->c:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->H:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-virtual {v0, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    :goto_2
    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->H:Ljava/lang/String;

    goto :goto_2

    :cond_2
    iget-object v1, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->c:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->H:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_3

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-virtual {v0, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    :goto_3
    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->H:Ljava/lang/String;

    goto :goto_3

    :pswitch_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->b:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2, v2, v2, v2}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->f:Landroid/widget/ProgressBar;

    invoke-virtual {v0, v2}, Landroid/widget/ProgressBar;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->e:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->clearAnimation()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->e:Landroid/widget/ImageView;

    invoke-virtual {v0, v5}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->c:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->getContext()Landroid/content/Context;

    move-result-object v2

    const v3, 0x7f080507

    invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "..."

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :pswitch_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->b:Landroid/widget/LinearLayout;

    iget v1, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->o:I

    mul-int/lit8 v1, v1, -0x1

    invoke-virtual {v0, v2, v1, v2, v2}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->f:Landroid/widget/ProgressBar;

    invoke-virtual {v0, v3}, Landroid/widget/ProgressBar;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->e:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->clearAnimation()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->e:Landroid/widget/ImageView;

    const v1, 0x7f020113

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->c:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->H:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_4

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-virtual {v0, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    :goto_4
    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->b:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v5}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto/16 :goto_0

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->H:Ljava/lang/String;

    goto :goto_4

    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method

.method protected d()V
    .locals 1

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->E:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->w:Lcom/waiqin365/lightapp/view/da;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->w:Lcom/waiqin365/lightapp/view/da;

    invoke-interface {v0}, Lcom/waiqin365/lightapp/view/da;->a()V

    :cond_0
    return-void
.end method

.method protected declared-synchronized e()V
    .locals 4

    monitor-enter p0

    const/4 v0, 0x1

    :try_start_0
    iput-boolean v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->F:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->x:Lcom/waiqin365/lightapp/view/db;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->j:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->getContext()Landroid/content/Context;

    move-result-object v1

    const v2, 0x7f08055f

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->i:Landroid/widget/ProgressBar;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->j:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->getContext()Landroid/content/Context;

    move-result-object v2

    const v3, 0x7f080507

    invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "......"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->x:Lcom/waiqin365/lightapp/view/db;

    invoke-interface {v0}, Lcom/waiqin365/lightapp/view/db;->a()V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :cond_1
    monitor-exit p0

    return-void

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public f()V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->i:Landroid/widget/ProgressBar;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->j:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->getContext()Landroid/content/Context;

    move-result-object v1

    const v2, 0x7f08055f

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->F:Z

    return-void
.end method

.method public g()V
    .locals 1

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->D:Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->getFooterViewsCount()I

    move-result v0

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->g:Landroid/widget/LinearLayout;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->removeFooterView(Landroid/view/View;)Z

    :cond_0
    return-void
.end method

.method public h()V
    .locals 1

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->D:Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->getFooterViewsCount()I

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->g:Landroid/widget/LinearLayout;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->addFooterView(Landroid/view/View;)V

    :cond_0
    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 2

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :cond_0
    :goto_0
    return-void

    :pswitch_0
    iget v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->u:I

    const/4 v1, 0x2

    if-eq v0, v1, :cond_0

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->E:Z

    if-nez v0, :cond_0

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->F:Z

    if-nez v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->e()V

    goto :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x7f0c030a
        :pswitch_0
    .end packed-switch
.end method

.method public onScroll(Landroid/widget/AbsListView;III)V
    .locals 1

    iput p2, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->q:I

    iput p4, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->r:I

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->y:Lcom/waiqin365/lightapp/view/cz;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->y:Lcom/waiqin365/lightapp/view/cz;

    invoke-interface {v0, p1, p2, p3, p4}, Lcom/waiqin365/lightapp/view/cz;->a(Landroid/widget/AbsListView;III)V

    :cond_0
    return-void
.end method

.method public onScrollStateChanged(Landroid/widget/AbsListView;I)V
    .locals 0

    return-void
.end method

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 1

    invoke-super {p0, p1}, Landroid/widget/ListView;->onTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    return v0
.end method

.method public setAdapter(Landroid/widget/BaseAdapter;)V
    .locals 1

    const-string/jumbo v0, ""

    invoke-virtual {p0, p1, v0}, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->setAdapter(Landroid/widget/BaseAdapter;Ljava/lang/String;)V

    return-void
.end method

.method public setAdapter(Landroid/widget/BaseAdapter;Ljava/lang/String;)V
    .locals 2

    const-string/jumbo v0, ""

    invoke-virtual {v0, p2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->C:Ljava/text/SimpleDateFormat;

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/Calendar;->getTime()Ljava/util/Date;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    :cond_0
    invoke-super {p0, p1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    return-void
.end method

.method public setCustomListviewOnScrollListener(Lcom/waiqin365/lightapp/view/cz;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->y:Lcom/waiqin365/lightapp/view/cz;

    return-void
.end method

.method public setFooterViewBackgroundColor(I)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->g:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p1}, Landroid/widget/LinearLayout;->setBackgroundColor(I)V

    return-void
.end method

.method public setFooterViewBackgroundResource(I)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->g:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p1}, Landroid/widget/LinearLayout;->setBackgroundResource(I)V

    return-void
.end method

.method public setHeadViewBackgroundColor(I)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->b:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p1}, Landroid/widget/LinearLayout;->setBackgroundColor(I)V

    return-void
.end method

.method public setHeadViewBackgroundResource(I)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->b:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p1}, Landroid/widget/LinearLayout;->setBackgroundResource(I)V

    return-void
.end method

.method public setTipsPull(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->H:Ljava/lang/String;

    return-void
.end method

.method public setTipsToRefresh(Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->I:Ljava/lang/String;

    return-void
.end method

.method public setonHistoryListener(Lcom/waiqin365/lightapp/view/db;)V
    .locals 1

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->x:Lcom/waiqin365/lightapp/view/db;

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->z:Z

    return-void
.end method

.method public setonRefreshListener(Lcom/waiqin365/lightapp/view/da;)V
    .locals 1

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->w:Lcom/waiqin365/lightapp/view/da;

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/view/CustomForDeteleListview;->z:Z

    return-void
.end method
